package com.qf.service.impl;

import com.qf.dao.TenementMapper;
import com.qf.pojo.Tenement;
import com.qf.service.TenementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TenementServiceImpl implements TenementService {

    @Autowired
    private TenementMapper tenementMapper;

    @Override
    public List<Tenement> findAll() {
        return tenementMapper.selectByExample(null);
    }
}
